package test.transitiveRole2;

import dk.au.cs.peterbn.annotations.Member;
import dk.au.cs.peterbn.annotations.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 9/12/11
 * Time: 11:33 AM
 * To change this template use File | Settings | File Templates.
 */
@Pattern(id = "test.transitiveRole2", name = "gof:Observer", role = "Subject")
public interface ASubject {

    @Member(id = "test.transitiveRole2", role = "Attach")
    void attach(AObserver observer);

    @Member(id = "test.transitiveRole2", role = "Detach")
    void detach(AObserver observer);

    @Member(id = "test.transitiveRole2", role = "Notify")
    void notifyObservers();
}
